package com.example.doctor.jpa;

import java.util.List;

import com.example.common.entity.Pharmacist;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface PharmacistRepository extends JpaRepository<Pharmacist, Long> {
    @Query(value = "select * from doctor_pharmacist where disable_bit = 0",nativeQuery = true)
    List<Pharmacist> findByAllNoDisable();
}
